python library

by: maninder523, 7 years ago

Last edited: 7 years ago

When i install module throug pycharm, it install properly but if i  install any module through command prompt it gives following error

C:Program Files (x86)Python36Scripts>pip install "matplotlib-2.0.2-cp36-cp36m-win_amd64.whl"
Processing c:program files (x86)python36scriptsmatplotlib-2.0.2-cp36-cp36m-win_amd64.whl
Requirement already satisfied: cycler>=0.10 in c:usersrickyappdataroamingpythonpython36site-packages (from matplotlib==2.0.2)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 in c:usersrickyappdataroamingpythonpython36site-packages (from matplotlib==2.0.2)
Requirement already satisfied: six>=1.10 in c:usersrickyappdataroamingpythonpython36site-packages (from matplotlib==2.0.2)
Requirement already satisfied: numpy>=1.7.1 in c:usersrickyappdataroamingpythonpython36site-packages (from matplotlib==2.0.2)
Requirement already satisfied: python-dateutil in c:usersrickyappdataroamingpythonpython36site-packages (from matplotlib==2.0.2)
Requirement already satisfied: pytz in c:usersrickyappdataroamingpythonpython36site-packages (from matplotlib==2.0.2)
Installing collected packages: matplotlib
Exception:
Traceback (most recent call last):
  File "c:program files (x86)python36libsite-packagespipbasecommand.py", line 215, in main
    status = self.run(options, args)
  File "c:program files (x86)python36libsite-packagespipcommandsinstall.py", line 342, in run
    prefix=options.prefix_path,
  File "c:program files (x86)python36libsite-packagespipreqreq_set.py", line 784, in install
    **kwargs
  File "c:program files (x86)python36libsite-packagespipreqreq_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "c:program files (x86)python36libsite-packagespipreqreq_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "c:program files (x86)python36libsite-packagespipwheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "c:program files (x86)python36libsite-packagespipwheel.py", line 323, in clobber
    shutil.copyfile(srcfile, destfile)
  File "c:program files (x86)python36libshutil.py", line 121, in copyfile
    with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: 'c:program files (x86)python36Libsite-packagesmatplotlib-2.0.2-py3.6-nspkg.pth'



You must be logged in to post. Please login or register an account.



Sounds like your user doesnt have permissions. Possibly run as admin to get it to install.

-Harrison 7 years ago

You must be logged in to post. Please login or register an account.